package com.sc.VenusQueryBeta.presenter.detail;

import com.sc.VenusQueryBeta.contract.detail.ZhiXunDetailContract;
import com.sc.VenusQueryBeta.model.detail.ZhiXunDetailModel;

/**
 * Created by Administrator on 26/9/2018.
 * 詳細質詢presenter
 */

public class ZhiXunDetailPresenter extends ZhiXunDetailContract.ZhiXunDetailPresenter {

    public static ZhiXunDetailPresenter newInstance() {
        return new ZhiXunDetailPresenter();
    }

    @Override
    public void loadDailyDetail(String id) {

        if (mIModel == null) {
            return;
        } else {
            mIView.showDailyDetail(mIModel.getlist());
        }

    }

    @Override
    protected ZhiXunDetailContract.IZiXunDetailModel getModel() {
        return ZhiXunDetailModel.newInstance();
    }

    @Override
    public void onStart() {

    }
}
